﻿#region Librerias

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESF.SSO.Core.Entities.Statistics;
using ESF.SSO.Core.DataAccess.Statistics;

#endregion


namespace ESF.SSO.Core.BusinessLogic
{
	public class CtrlStatistics
	{
		#region Read
		
		public static List<OperationExecution> BrowseTable (OperationExecution pSample)
		{
			return AdoOperationExecution.BrowseTable (pSample);
		}


		public static int GetExecutionOperationCount (string pCustomOperationName = null)
		{
			return AdoOperationExecution.GetExecutionOperationCount (pCustomOperationName);
		}

		#endregion


		#region Write

		public static void Register (OperationExecution pItem)
		{
			AdoOperationExecution.Register (pItem);
		}

		#endregion
	}
}
